package fun.codedesign.yinxue.code.php2java.rule.word;

public class DoubleColonWordRule implements WordRule {
    @Override
    public boolean isMatch(String originWord) {
        return "::".equals(originWord);
    }

    @Override
    public String invoke(String originWord) {
        // 静态双冒号(代表静态方法) 替换为.
        return ".";
    }
}
